package com.yumeno.education.dao;

import com.yumeno.education.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StudentDao {

    @Select(value = "SELECT * " +
            "FROM student  " +
            "WHERE username = #{username} ")
    Student selectByUsername(String username);
}
